package org.wendu.wdoa.security.dao;

import org.apache.ibatis.annotations.Select;
import org.wendu.wdoa.security.dto.LoginDto;
import org.wendu.wdoa.security.model.User;

public interface LoginDao {

    @Select("select u_id,u_name from t_user where u_id = #{u_id} and u_pwd= #{u_pwd}")
    public User findUserByUserIdAndPwd(LoginDto dto);
}
